<template>
    
    
    <div class="info">    
        <h1>{{name}}</h1> 
        <h3>route 传入的参数username:{{$route.params.username}}</h3>
        <h3>route 传入的参数id:{{$route.params.id}}</h3>
    </div>


</template>
<script>
export default {
    name:"lyy2",
    data(){
        return{
            name:"Hi, my name is liyy page2!"
        }
    }
}
</script>
<style scoped>
    .info{
        color:burlywood;
    } 
</style>
